
/* ============================================================
   PT Portal – Sign-in page presentation overrides (final)
   ============================================================ */

/* -----------------------------
   Tabs: Sign-in / Sign-up
   ----------------------------- */

ul.nav-tabs > li > a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  color: #333;
  border: 1px solid #ddd;
  border-bottom: none;
  background-color: #f8f9fa;
  margin-right: 4px;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
  line-height: 1.25;
}

ul.nav-tabs > li.active > a {
  background-color: #fff;
  color: #000;
  border-color: #ddd;
}

ul.nav-tabs > li > a:hover {
  background-color: #e9ecef;
  text-decoration: none;
}

/* Rename “Register” → “Sign-up” */
ul.nav-tabs > li > a[title="Register"] {
  position: relative;
  color: transparent;
  text-shadow: none;
}
ul.nav-tabs > li > a[title="Register"]::after {
  content: "Sign-up";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

/* ✅ Hide Redeem Invitation tab */
ul.nav-tabs a[title="Redeem invitation"],
ul.nav-tabs a[href*="redeem"] {
  display: none !important;
}

/* ----------------------------------------------
   Button: “Azure AD B2C” → “Sign in” (centered)
   ---------------------------------------------- */

button[name="provider"].btn.btn-primary.btn-line {
  position: relative;
  color: transparent !important;
  text-shadow: none !important;
}

button[name="provider"].btn.btn-primary.btn-line::after {
  content: "Sign in";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  pointer-events: none;
}

/* -------------------------------------------------------------
   Heading text replacement
   ------------------------------------------------------------- */

span.xrm-attribute-value-encoded.xrm-attribute-value {
  position: relative;
  display: inline-block;
  color: transparent;
  text-shadow: none;
  min-height: 1em;
}

span.xrm-attribute-value-encoded.xrm-attribute-value::after {
  content: "Sign in to your PT Portal";
  position: absolute;
  left: 0;
  top: 0;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
